Kohonen pattern constructor
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(kohonen_pattern) | :: | current_pattern | 
                 A   | 
        |||
| real(kind=wp), | intent(inout), | dimension(:,:) | :: | input | 
                 A real array  | 
        |
| character(len=*), | optional | :: | name | 
                 A character string with the name of the pattern  | 
        
subroutine kohonen_pattern_create(current_pattern,input,name) !======================================================================================== !! Kohonen pattern constructor class(kohonen_pattern) :: current_pattern !! A `kohonen_pattern` object real(kind=wp),dimension(:,:),intent(inout) :: input !! A real array character(len=*),optional :: name !! A character string with the name of the pattern call current_pattern%pattern%create(input); if(present(name)) then current_pattern%pattern_name=trim(name); else current_pattern%pattern_name=""; endif ! end subroutine kohonen_pattern_create